home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / XFDISK.ZIP / XFDISK.BAT < prev   
DOS Batch File  |  1991-08-28  |  1KB  |  39 lines

  1. @echo off
  2. echo  
  3. echo XFDISK  version 1.00  August 28, 1991
  4. echo Fixed Disk Preparation and Partitioning Software.
  5. echo Copyright (C) 1991 Dennis W. Person.  All rights reserved.
  6. echo  
  7.  
  8. if [%1]==[] goto HELP
  9.   if exist %1.BAT ren %1.BAT %1.DOC
  10.   if NOT exist %1.DOC goto ERROR
  11.     ren %1.DOC %1.BAT
  12.     call %1 %2 %3 %4 %5
  13.     ren %1.BAT %1.DOC
  14.     goto EXIT
  15.  
  16. :ERROR
  17. echo ERROR:  The %1.DOC file is missing.  Unable to continue.
  18. goto EXIT
  19.  
  20. :HELP
  21. echo Command:  XFDISK [doc_file] [/1│/2] [R│P] [list_file│NUL] [REM]
  22. echo  
  23. echo     doc_file  Documentation file for partitioning your fixed disk.
  24. echo           /1  Select 1st fixed disk.
  25. echo           /2  Select 2nd fixed disk.
  26. echo            R  Restore fixed disk partitions.
  27. echo            P  Prepare and partition fixed disk.
  28. echo    list_file  Filename.LST to capture DEBUG output if desired.
  29. echo               Do NOT enter the default .LST extension.
  30. echo          NUL  Use NUL as the filename if no output file is desired but,
  31. echo               the REM option is desired.
  32. echo          REM  Remarks only {will still create DEBUG script file}.
  33. echo               Useful to check script file before actual disk partitioning.
  34. echo  
  35. echo Options must be entered in the order shown and separated by a space.
  36. echo  
  37.  
  38. :EXIT
  39.